package com.example.demo.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 代理商阅读公告通知记录
 * @author jcong
 *
 * @date: 2018年4月10日 下午7:00:14
 */
@Entity
public class ReadRecord implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -649037372034472691L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long rID;//
	
	@Column(columnDefinition="bigint COMMENT '代理商id'")
	private Long uID; //代理商id
	
	@Column(columnDefinition="bigint COMMENT '公告id'")
	private Long nID; 
	
	@Column(columnDefinition="bigint COMMENT '阅读时间'")
	private Long readTime;
	
	@Column(columnDefinition="int DEFAULT 0 COMMENT '阅读状态：0未读 1 已读'")
	private Integer status;

	public Long getrID() {
		return rID;
	}

	public void setrID(Long rID) {
		this.rID = rID;
	}

	public Long getuID() {
		return uID;
	}

	public void setuID(Long uID) {
		this.uID = uID;
	}

	public Long getnID() {
		return nID;
	}

	public void setnID(Long nID) {
		this.nID = nID;
	}

	public Long getReadTime() {
		return readTime;
	}

	public void setReadTime(long readTime) {
		this.readTime = readTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	
	
	

}
